package shopping.model;

import shopping.commons.ModelObject;

/**
 * Created by IntelliJ IDEA.
 * User: mazhao
 * Date: 2010/10/30
 * Time: 23:42:57
 * To change this template use File | Settings | File Templates.
 */
public class ProductData extends ModelObject {
    // for catalog
    private int catalogId;
    private String catalogName;

    // for product
    private int id;
    private int version;
    private String name;
    private String description;
    private double originalPrice;
    private double memberPrice;
    private double specialPrice;
    private int discount;
    private short star;
    private int point;

    public int getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(int catalogId) {
        this.catalogId = catalogId;
    }

    public String getCatalogName() {
        return catalogName;
    }

    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName;
    }

    public String getDescription() {
        return description;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getDiscount() {
        return discount;
    }

    public void setDiscount(int discount) {
        this.discount = discount;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getMemberPrice() {
        return memberPrice;
    }

    public void setMemberPrice(double memberPrice) {
        this.memberPrice = memberPrice;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public int getPoint() {
        return point;
    }

    public void setPoint(int point) {
        this.point = point;
    }

    public double getSpecialPrice() {
        return specialPrice;
    }

    public void setSpecialPrice(double specialPrice) {
        this.specialPrice = specialPrice;
    }

    public short getStar() {
        return star;
    }

    public void setStar(short star) {
        this.star = star;
    }
}
